package com.pioneer.dao;

import java.util.List;
import com.pioneer.beans.ContactBean;

/**
 * Title:        Pioneer Metals Application
 * Description:
 * Copyright:    Copyright (c) 2001
 * Company:      Pioneer Metals
 * @author Gary Chen
 * @version 1.0
 */

public interface ContactDAO {	
	
	public void addContact(ContactBean bean)
	throws DataAccessException;
	
	public void editContact(ContactBean bean, ContactBean oldBean)
	throws DataAccessException;
	
	public void deleteContact(ContactBean bean)
	throws DataAccessException;
	
	public List findContacts(ContactBean bean)
	throws DataAccessException;
	
	public ContactBean findContact(String cn)
	throws DataAccessException;
	
}
